itemsOfType

fun <T : Any> itemsOfType(itemClass: KClass<T>): List<T>

Return a list of all items of the given type